package com.app.utils;

public class IConstants {

    //根据版本来修改访问服务器的路径
    public static Boolean isDebug = Setting.DEBUG;
    //正式版本 不要忘了修改 预发布
    // public static Boolean isDebug = false;

    // url
    //订单中心
    private static final String HSTORDERCENTER_ONLINE = "http://m.hstyf360.com/special_channel/order_center/summary?";//护生堂对接商城 正式环境
    private static final String HSTORDERCENTER_ONLINE_R = "http://mbeta.hstyf360.com/special_channel/order_center/summary?";//互生堂预发布
    private static final String HSTORDERCENTER_TEST = "http://mtest.hstyf360.com/special_channel/order_center/summary?";//互生堂测试
    //护生堂商城
    private static final String HSTORDERCENTER_MARKET_ONLINE = "http://m.hstyf360.com/special_channel/auth/whole_check?";//互生堂健康商场
    private static final String HSTORDERCENTER_MARKET_ONLINE_R = "http://mbeta.hstyf360.com/special_channel/auth/whole_check?";//互生堂健康商场
    private static final String HSTORDERCENTER_MARKET_TEST = "http://mtest.hstyf360.com/special_channel/auth/whole_check?";//互生堂健康商场测试

    //护生堂商城订单
    private static final String HSTORDERCENTER_MARKET_ORDER_ONLINE = "http://m.hstyf360.com/usercenter/summary?";//互生堂健康商城订单
    private static final String HSTORDERCENTER_MARKET_ORDER_ONLINE_R = "http://mbeta.hstyf360.com/usercenter/summary?";//互生堂健康商城订单
    private static final String HSTORDERCENTER_MARKET_ORDER_TEST = "http://mtest.hstyf360.com/usercenter/summary?";//互生堂健康商城订单测试

    //market can modify
    public static final String HSTORDERCENTER = isDebug ? HSTORDERCENTER_ONLINE_R :
            HSTORDERCENTER_ONLINE;//互生堂订单中心
    public static final String HSTORDERCENTER_MARKET = isDebug ? HSTORDERCENTER_MARKET_ONLINE_R :
            HSTORDERCENTER_MARKET_ONLINE;//互生堂健康商场
    public static final String HSTORDERCENTER_MARKET_ORDER = isDebug ? HSTORDERCENTER_MARKET_ORDER_ONLINE_R :
            HSTORDERCENTER_MARKET_ORDER_ONLINE;//互生堂健康商场订单



    public static final String HSTSHIP = Setting.URL_API_HOST_DETAIL_HTTP + "hst/goodsList?";//互生堂商城产品列表
    public static final String HSTCart = Setting.URL_API_HOST_DETAIL_HTTP + "hst/myShoppingCartList?";//互生堂商城产品列表
    public static final String HSTINVENTORY = Setting.URL_API_HOST_DETAIL_HTTP + "hst/myShoppingCartList?StockError=true";//商品库存不足
}
